package com.gxa.eloan.service.impl;

import com.gxa.eloan.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin login(String name, String password) {
        return adminMapper.selectByUser(name,password);
    }
}
